package com.peas.platform.module.icims.budget.statistics.adapter.repository.po;

import java.util.*;
import java.math.*;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.peas.platform.framework.mybatisplus.po.BasePo;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.ibatis.type.JdbcType;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

// 部门绩效目标指标
@Data
@EqualsAndHashCode(callSuper = false)
@TableName(value = "`tbl_department_performance_kpi`")
public class DepartmentPerformanceKpiPo extends BasePo {

    //部门绩效目标ID
    //（部门绩效目标表）外键
    @TableField(value = "`department_performance_id`", jdbcType = JdbcType.BIGINT)
    private Long departmentPerformanceId;

    //部门绩效目标指标类型
    //本年度、三年期
    @Size(max = 20, message = "部门绩效目标指标类型不能超过20个字符")
    @TableField(value = "`department_performance_kpi_type`", jdbcType = JdbcType.VARCHAR)
    private String departmentPerformanceKpiType;

    //关键指标
    @Size(max = 500, message = "关键指标不能超过500个字符")
    @TableField(value = "`performance`", jdbcType = JdbcType.VARCHAR)
    private String performance;

    //预期实现值
    @Size(max = 500, message = "预期实现值不能超过500个字符")
    @TableField(value = "`expect`", jdbcType = JdbcType.VARCHAR)
    private String expect;

}
